import  fetchRequest from '@/util/fetch'

const SERVICE = "/blade-meiye"

export const meiYeWorkerSvcProviderList = (params={}) => {
    return  fetchRequest({
        url: SERVICE + '/api/meiYeWorker/svcProvider/list',
        method: 'get',
        params: params,
    })
}
export const allSvcProvider = (params={}) => {
    return  fetchRequest({
        url: SERVICE + '/api/meiYeSvcProvider/all',
        method: 'get',
        params: params,
    })
}
export const allWithOther = (params={}) => {
    return  fetchRequest({
        url: SERVICE + '/api/meiYeSvcProvider/allWithOther',
        method: 'get',
        params: params,
    })
}
export const saveSvcVote = (data={}) => {
    return  fetchRequest({
        url: SERVICE + '/api/meiYeSvcVote/save',
        method: 'post',
        data: data,
    })
}
